import * as Cesium from 'cesium/Cesium'
var noScale$1 = new Cesium.Cartesian3(1,1,1)
    , matrixScratch = new Cesium.Matrix4
    , scaleScratch$1 = new Cesium.Cartesian3;
function getWidgetOrigin(e, t, i) {
    var r = Cesium.Matrix4.getScale(e, scaleScratch$1)
        , n = Cesium.Matrix4.setScale(e, noScale$1, matrixScratch);
    return Cesium.Matrix4.multiplyByPoint(n, Cesium.Cartesian3.multiplyComponents(t, r, i), i)
}
export default getWidgetOrigin;